:root {
  --primary-color: #2d8cf0;
  --siderbar-bg-color: #001529;
  --font-color: #333;
  --border-color: #c0cddc;
  --logo-color: #fff;
}
.layui-nav-bar,
.closeBox .layui-tab-bar {
  display: none;
}
/************************ 头部-start *******************/
.layui-layout-admin .layui-header {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid #e9ecf3;
}
.layui-header .layui-logo {
  position: relative;
  width: auto;
  height: unset;
  padding: 0 20px;
}

.layui-header .layui-logo a {
  display: flex;
  align-items: center;
}
.layui-header .layui-logo img {
  height: 40px;
  width: 40px;
  display: none;
}
.layui-header .layui-logo h1 {
  font-size: 22px;
  font-weight: 600;
  overflow: hidden;
  text-align: left;
  height: 55px;
  border-radius: 15px 20px 0 30px;
  color:#000;
  /* 1background-color: var(--primary-color); */
}

.layui-header .layuimini-tool {
  font-size: 20px;
  color: #c0cddc;
}
.layui-header .layui-nav-item a {
  font-size: 14px;
  color: #666;
}
.layui-header .layui-nav-item a:hover {
  background: #f9fafc;
  color: #666;
}
/************************ 头部-end *******************/
/************************ 侧边栏-start *****************/
.layui-side,
.layui-layout-admin .layui-side .layui-nav {
  transition: all 0.2s;
}
/**左侧菜单栏（缩放） */
.layuimini-mini .layui-left-menu {
  width: 80px !important;
}
.layuimini-mini .layui-side,
.layuimini-mini .layui-left-menu > ul,
.layuimini-mini .layui-left-menu > ul li i {
  width: 60px !important;
}
.layuimini-mini .layui-left-menu > ul li span:first-child {
  display: none;
}
.layuimini-mini .layui-left-menu > ul li span:last-child {
  float: right;
  right: 7px;
}
.layuimini-mini .layui-left-menu .layui-nav .layui-nav-item a {
  height: 40px;
  line-height: 40px;
  padding-right: 0px !important;
}
.layuimini-mini .layui-layout-admin .layui-side {
  width: 60px;
}

/**内容主体（通用） */
.layui-layout-admin .layui-body {
  /* overflow: hidden;
  bottom: 0px !important;
  top: 30px !important; */
  transition: all 0.2s;
}
/**内容主体（缩放） */
.layuimini-mini .layui-layout-admin .layui-body {
  left: 60px !important;
}
.layui-layout-admin .layui-side {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
  background: var(--siderbar-bg-color);
}
.layui-layout-admin .layui-side .layui-nav,
.layui-nav-tree .layui-this,
.layui-nav-tree .layui-this > a,
.layui-nav-tree .layui-nav-item a:hover {
  background-color: unset !important;
  color: #fff;
}

.layui-nav-tree .layui-this > a,
.layui-nav-tree .layui-this > a:hover {
  color: var(--primary-color) !important ;
}
.layui-nav .layui-nav-item a:hover {
}
.layui-nav-tree .layui-nav-item a i {
  margin-right: 10px;
}
/************************ 侧边栏-end *******************/
/************************ 主体-已打开菜单-start *******************/
.layui-layout-admin .layui-body {
  bottom: 0;
}
.layui-tab {
  width: 100%;
  height: 40px;
  background: #f0f0f0;
  display: inline-block;
  padding: 0 4px;
  margin: 0;
  box-sizing: border-box;
  padding-right: 138px;
  overflow: visible;
  white-space: nowrap;
  transition: left 0.3s ease;
}
.layui-tab .layui-tab-title {
  position: absolute;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 3px 2px hsl(0deg 0% 39% / 10%);
}
.layui-tab-title li cite {
  font-style: normal;
  padding-left: 5px;
}
.layui-tab-title li {
  box-sizing: border-box;
  height: 32px;
  line-height: 32px;
  border: 1px solid #e8eaec !important;
  color: #515a6e !important;
  background: #fff !important;
  padding: 0 12px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 3px;
  font-size: 12px;
  vertical-align: middle;
  opacity: 1;
  overflow: hidden;
  cursor: pointer;
}
.layui-tab-title li.layui-this {
  color: #fff !important;
  background: var(--primary-color) !important;
}
.layui-tab-title li.layui-this i {
  color: #fff;
}
.closeBox {
  position: absolute;
  background-color: #fff !important;
  color: #000;
  top: 0;
  right: 0;
  height: 39px;
  border-radius: 0;
  border-left: 1px solid var(--border-color);
  padding: 0 10px !important;
}
.closeBox .layui-nav-more {
  display: none;
}
.closeBox .layui-nav-item {
  line-height: 40px;
}
.closeBox .layui-nav-item a:hover,
.closeBox .layui-nav-item a {
  color: var(--font-color);
}
.closeBox .layui-nav-item a i {
  font-size: 20px;
}
.closeBox .layui-nav-item .layui-nav-child {
  right: 0;
  left: unset;
  top: 50px;
}

#top_tabs_box .layui-tab-close {
  font-size: 12px !important;
  width: 14px !important;
  height: 14px !important;
  line-height: 16px !important;
}
#top_tabs_box .layui-tab-close:hover {
  border-radius: 4em;
  background: #ff5722;
}
.closeBox a span.layui-nav-more {
  border-color: #333 transparent transparent;
}
.closeBox a span.layui-nav-more.layui-nav-mored {
  border-color: transparent transparent #333;
}
/************************ 主体-已打开菜单-end *******************/
/************************ 主体-内容-start *******************/

.clildFrame.layui-tab-content {
  top: 40px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.clildFrame.layui-tab-content .layui-tab-item {
  height: 100%;
}

.layui-form-checked span,
.layui-form-checked:hover span {
  background-color: var(--primary-color);
}
